package org.dylan.core.util;

/**
 * 系统工具类
 * 
 * @author dylan
 * 
 */
public class SystemUtil {
	public static final String DEFAULT_THEME_NAME = "default";
	private static boolean debugModel = false;
	private static String defaultTheme = DEFAULT_THEME_NAME;

	public static boolean debugModel() {
		return debugModel;
	}

	public static void setDebugModel(boolean debugModel) {
		SystemUtil.debugModel = debugModel;
	}

	public static void setDefaultTheme(String defaultTheme) {
		SystemUtil.defaultTheme = defaultTheme;
	}

	public static String defaultTheme() {
		return defaultTheme;
	}
}
